//
//  CGGImage.h
//  PictureYourself
//
//  Created by Daniel on 8/8/12.
//
//

#import <Foundation/Foundation.h>
#import <ImageIO/ImageIO.h>

void thumbnailDataProviderReleaseCallback(void *info, const void *data, size_t size);
CGFloat DegreesToRadians(CGFloat degrees);
CGImageRef thumbnailCreateFromData2(NSData * data, int imageSize);
CGImageRef thumbnailCreateFromImage(CGImageRef image, int size);
int orientationToApplyByDegrees(CFDictionaryRef image_properties);
UIImageOrientation uiImageOrientationToApply(CFDictionaryRef image_properties);

@interface CGGImage : NSObject

@end
